package com.itheima_26;

public class Outer {

    private int num = 10;

    public void method() {
        // 局部内部类
        class Inner {
            public void show() {
                System.out.println(num);
            }
        }

        Inner i = new Inner();
        i.show();
    }
}
